<div bindonce>
	<div class="form-group w100 inline-block mt20">
		<label class="col-sm-1 control-label">名称</label>
		<div class="col-sm-2">
			<input class="form-control wd200" type="text" ng-model="data.name" ab-validate="{required:true}" ng-disabled="isSee" />
		</div>
		<label class="col-sm-1 control-label">编码</label>
		<div class="col-sm-2 control-label">
			<input class="form-control wd200" type="text" ng-model="data.code" ab-validate="{required:true}" ng-disabled="isSee" />
		</div>
		<label class="col-sm-1 control-label">数据源</label>
		<div class="col-sm-2">
			<select class="form-control wd200" ng-model="data.dsKey" ng-options="m.key as m.name for m in AllSysDataSources" ab-validate="{required:true}" ng-disabled="isSee">
				<option value="">请选择</option>
			</select>
		</div>
		<label class="col-sm-1 control-label">是否默认查询</label>
		<div class="col-sm-2">
			<select class="form-control wd200" ng-model="data.initQuery" ab-parse-data ng-options="k as v for (k,v) in service.statusJson" ab-validate="{required:true}" ng-disabled="isSee">
				<option value="">请选择</option>
			</select>
		</div>
	</div>
	<div class="form-group w100 inline-block ">
		<label class="col-sm-1 control-label">是否支持导出</label>
		<div class="col-sm-2">
			<select class="form-control wd200" ng-model="data.canExport" ab-parse-data ng-options="k as v for (k,v) in service.statusJson" ab-validate="{required:true}" ng-disabled="isSee">
				<option value="">请选择</option>
			</select>
		</div>
		<label class="col-sm-1 control-label">分页大小</label>
		<div class="col-sm-2">
			<select class="form-control wd200" ng-model="data.pageSize" ab-parse-data ng-options="item.label as item.value for item in service.pageSizeArray" ab-validate="{required:true}" ng-disabled="isSee">
				<option value="">请选择</option>
			</select>
		</div>
		<label class="col-sm-1 control-label">显示行号/序号</label>
		<div class="col-sm-2">
			<select class="form-control wd200" ng-model="data.showRowsNum" ab-parse-data ng-options="k as v for (k,v) in service.statusJson" ab-validate="{required:true}" ng-disabled="isSee">
				<option value="">请选择</option>
			</select>
		</div>
		<label class="col-sm-1 control-label">单选/多选</label>
		<div class="col-sm-2">
			<select class="form-control wd200" ng-model="data.expand.selectType" ab-parse-data ng-options="k as v for (k,v) in service.selectTypeMap" ng-disabled="isSee">
				<option value="">无</option>
			</select>
		</div>
	</div>
	<div class="form-group w100 inline-block ">
		<label class="col-sm-1 control-label">表名</label>
		<div class="col-sm-2">
			<select class="form-control wd200" ng-model="data.tableName" ab-parse-data ng-options="table.tableName as table.tableName for table in sqlTableList" ab-validate="{required:true}" ng-disabled="isSee">
				<option value="">请选择</option>
			</select>
		</div>
		<label class="col-sm-1 control-label">主键名称</label>
		<div class="col-sm-2">
			<select class="form-control wd200" ng-model="data.pkName" ab-parse-data ng-options="field.fieldName as field.fieldDesc for field in data.fieldsList" ab-validate="{required:true}" ng-disabled="isSee">
				<option value="">请选择</option>
			</select>
		</div>
		<label class="col-sm-1 control-label">是否启用</label>
		<div class="col-sm-2">
			<select class="form-control wd200" ng-model="data.status" ab-parse-data ng-options="k as v for (k,v) in service.statusJson" ab-validate="{required:true}" ng-disabled="isSee">
				<option value="">请选择</option>
			</select>
		</div>
	</div>
	
	<div class="form-group w100 inline-block ">
		<label class="col-sm-1 control-label">关联在线表单</label>
		<div class="col-sm-2"  >
			 <span  ng-hide="data.custForm.formName" >请选择</span>
			 <span class="label label-primary" ng-show="data.custForm.formName"> {{data.custForm.formName }}</span>
			 <a ab-cust-dialog="formSelector" param='{"type_":"pc"}'  value-key="data.custForm.formKey" value-bokey="data.custForm.boKey" value-name="data.custForm.formName" class="btn btn-sm btn-primary fa-search" href="javascript:void(0)" >选择</a>
		</div>
		<label class="col-sm-1 control-label" ng-show="data.custForm.formName" >展示前脚本</label>
		<div class="col-sm-2" ng-show="data.custForm.formName">
			 <textarea ng-model="data.custForm.preShowScript" class="form-control inline-block textarea" placeholder="打开表单的时候执行的Groovy脚本"></textarea>
		</div>
		<label class="col-sm-1 control-label" ng-show="data.custForm.formName">保存前脚本</label>
		<div class="col-sm-2" ng-show="data.custForm.formName">
			 <textarea ng-model="data.custForm.preSaveScript" class="form-control inline-block textarea" placeholder="提交表单后，执行持久化前执行的Groovy脚本" ></textarea>
		</div>
		<label class="col-sm-1 control-label" ng-show="data.custForm.formName">保存后脚本</label>
		<div class="col-sm-2" ng-show="data.custForm.formName">
			 <textarea ng-model="data.custForm.afterSaveScript" class="form-control inline-block textarea" placeholder="保存后执行的脚本" ></textarea>
		</div>
	</div> 
	
	<div class="form-group w100 inline-block ">
		<label class="col-sm-1 control-label">描述</label>
		<div class="col-sm-11">
			<textarea class="form-control inline-block hd80 textarea" type="text" ng-model="data.content" ng-disabled="isSee"></textarea>
		</div>
	</div>
</div>